package the.world.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Comment {
    private int id;
    private int uid;
    private String date;
    private String context;
    private User user;

    public Comment(int uid, String date, String context) {
        this.uid = uid;
        this.date = date;
        this.context = context;
    }
}
